import config from "@/config";
import http from "@/utils/request";
// import qs from "qs";

//企业清单
export default {
	pageList: {
		url: `${config.API_URL}/sysFollow/pageList`,
		name: "获取分页列表",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
	details: {
		url: `${config.API_URL}/sysFollow/details`,
		name: "根据id获取详情",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
    //跟进信息填报
	save: {
		url: `${config.API_URL}/sysFollow/save`,
		name: "更新数据",
		post: async function (params) {
			return await http.post(this.url, params);
		},
	},
	//导出
	download: {
		url: `${config.API_URL}/excel/download`,
		name: "导出",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
};
